﻿<Window x:Class="DisplayWpfTrees.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Drag XAML Files onto This Window to See WPF Logical Tree" Height="350" Width="525" AllowDrop="True"
        Drop="Window_Drop" >
    <ScrollViewer VerticalScrollBarVisibility="Auto">
        <StackPanel Name="spMain" >
            <Label Content="Logical Tree" Height="28" Background="AliceBlue"/>
            <TreeView Name="tvLogical" />
            <Label Content="Visual Tree" Height="28" Background="AliceBlue"/>
            <TreeView Name="tvVisual" />
        </StackPanel>
    </ScrollViewer>
</Window>
